<div class="isi">

    <?php
    $atr = array('id' => 'formID',
        'class' => 'formular');
    echo form_open('admin_news/simpan', $atr);
    ?> 
    <input type="hidden" size="10" name="newsid" id="newsid"  value="<?php echo $newsid ?>" />
    <table width="100%" >
        <tr>
            <td width="15%"><p> Judul Berita </p> </td>
            <td><p> : </p> </td>
            <td> <input type="text" size="30" name="title" id="title" value="<?php echo $title ?>" /> </td>
        </tr>            
        <tr>
            <td width="15%"><p> Isi Berita </p> </td>
            <td><p> : </p> </td>
            <td>
                <textarea name="news" id="my_editor" style="width: 400px; height: 50px; margin-left: 2px;" ><?php echo $news; ?></textarea>
            </td>
        </tr>
        <tr>
            <td width="15%"><p> Status </p> </td>
            <td><p> : </p> </td>
            <td>
                <select name="status">
                    <?php
                    if ($status) {
                        echo "<option value=1 selected>Aktif</option>";
                        echo "<option value=0 >Non Aktif</option>";
                    } else {
                        echo "<option value=1 >Aktif</option>";
                        echo "<option value=0 selected>Non Aktif</option>";
                    }
                    ?>
                </select>
            </td>
        </tr>
    </table>
    <br/>
    <?php echo anchor("admin_news", "Kembali", "class='button' style='color:#f8f8f8'") ?>
    <input type="submit" value="         Simpan       " class="button"/>
    <div class="clear"></div>

</form>

</div>